import VueRouter from 'vue-router' 
 
const routes = [
	{ path: '/', redirect: '/m/home' },
	{ path: '/m', name: '会员模板', component: () => import('./m/MemberLayout.vue') },
	{ path: '/home', name: '首页', component: () => import('./home/Home.vue') },  
]

//在此动态添加， 或者使用 router.addRoutes([
//{
//    path: '/login',
//        name: 'login',
//            component: () => import('../components/Login.vue')
//}
//])

window.routers = routes;

export default routes;
